import { request,request1 } from "./request";

export function getHomeMultidata(){
  return request({
    url: '/home/multidata'
  })
}

export function getHomeGoods(type,page){
  return request1({
    url: '/home/data',
    params:{
      type,
      page
    }
  })
}

export function getDatail(iid){
  return request1({
    url:'/detail/',
    params:{
      iid
    }
  })
}

export function getDatailList(){
  return request1({
    url:'/recommend'
  })
}